package vn.edu.ptithcm.pim.service;

import vn.edu.ptithcm.pim.dom.ProjectStatus;

import java.util.List;

import vn.edu.ptithcm.pim.dao.ProjectStatusDao;
@SuppressWarnings({ "rawtypes" })
public class ProjectStatusService {
	private ProjectStatusDao projectStatusDao;

	public ProjectStatusDao getProjectStatusDao() {
		return projectStatusDao;
	}

	public void setProjectStatusDao(ProjectStatusDao projectStatusDao) {
		this.projectStatusDao = projectStatusDao;
	}

	public void save(ProjectStatus projectStatus) {
		projectStatusDao.save(projectStatus);
	}

	public void saveOrUpdate(ProjectStatus projectStatus) {
		projectStatusDao.saveOrUpdate(projectStatus);
	}

	public void lock(ProjectStatus projectStatus) {
		projectStatusDao.lock(projectStatus);
	}

	public void delete(ProjectStatus projectStatus) {
		projectStatusDao.delete(projectStatus);
	}

	public ProjectStatus merge(ProjectStatus projectStatus) {
		return projectStatusDao.merge(projectStatus);
	}

	public ProjectStatus findById(java.lang.Long id) {
		return projectStatusDao.findById(id);
	}

	public List findByExample(ProjectStatus projectStatus) {
		return projectStatusDao.findByExample(projectStatus);
	}

	public List getAll() {
		return projectStatusDao.getAll();
	}

	
}
